using UnityEngine;

[System.Serializable]
public struct ColorRangeHSV
{
    [FloatRangeSlider(0f, 1f)]
    public FloatRange hue, staturation,value;
    public Color RandomInRange
    {
        get{
            return Random.ColorHSV(
                hue.min, hue.max,
                staturation.min, staturation.max,
                value.min, value.max,
                1f, 1f
            );
        }
    }
}